<{include file ="header.tpl"}>
<{include file ="navibar.tpl"}>
<{include file ="sidebar.tpl"}>
<!-- START 以上内容不需更改，保证该TPL页内的标签匹配即可 -->
<{$osadmin_action_alert}>
<{$osadmin_quick_note}>

<div class="well">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#home" data-toggle="tab">产品入库</a></li>
    </ul>

    <div id="myTabContent" class="tab-content">
        <div class="tab-pane active in" id="home">

            <form id="tab" method="post" action="products_add.php">
                <{if $_GET.products_id}>
                <label>产品model号</label>
            <input type="text" name="model" value="<{$_GET.products_model}>" class="input-xlarge" readonly>
                <label>产品数量</label>
            <input type="text" name="num" value="" class="input-xlarge"
                   autofocus="true" placeholder="请仔细核对数量">

                <label>入库类型</label>
            <input type="radio" name="add_status" value="1" class="input-xlarge" checked
                   autofocus="true">正常入库 &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" name="add_status" value="2" class="input-xlarge"
                   autofocus="true">退货再入库 &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" name="add_status" value="3" class="input-xlarge"
                   autofocus="true">换货再入库 &nbsp;&nbsp;&nbsp;&nbsp;

                <label>是否评估</label>
            <input type="radio" name="pg" value="1" class="input-xlarge" checked
                   autofocus="true">是 &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" name="pg" value="0" class="input-xlarge"
                   autofocus="true">否 &nbsp;&nbsp;&nbsp;&nbsp;

            <input type="hidden" name="products_id" value="<{$_GET.products_id}>">

                <{else}>
                <label>类型名称</label>
            <input type="text" name="type" value="" class="input-xlarge"
                   autofocus="true" placeholder="两个大写字母组合">
                <label>产品名称</label>
            <input type="text" name="name" value="" class="input-xlarge"
                   autofocus="true">
                <label>尺寸</label>
            <input type="text" name="size" value="" class="input-xlarge"
                   autofocus="true">
                <label>颜色</label>
            <input type="text" name="color" value="" class="input-xlarge"
                   autofocus="true">
                <label>进货价</label>
            <input type="text" name="price" value="" class="input-xlarge"
                   autofocus="true">
                <label>货币类型</label>
            <input type="text" name="currency" value="" class="input-xlarge"
                   autofocus="true">
                <label>产品描述</label>
                <textarea name="desc" rows="10" class="input-xlarge" placeholder="产品描述"></textarea>
                <label>数量</label>
            <input type="text" name="num" value="" class="input-xlarge"
                   autofocus="true" placeholder="请仔细核对再填写">

                <label>入库类型</label>
            <input type="radio" name="add_status" value="1" class="input-xlarge" checked
                   autofocus="true">正常入库 &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" name="add_status" value="2" class="input-xlarge"
                   autofocus="true">退货再入库 &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" name="add_status" value="3" class="input-xlarge"
                   autofocus="true">换货再入库 &nbsp;&nbsp;&nbsp;&nbsp;

                <label>是否评估</label>
            <input type="radio" name="pg" value="1" class="input-xlarge" checked
                   autofocus="true">是 &nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" name="pg" value="0" class="input-xlarge"
                   autofocus="true">否 &nbsp;&nbsp;&nbsp;&nbsp;
                <{/if}>
                <div class="btn-toolbar">
                    <button type="submit" class="btn btn-primary"><strong>提交</strong></button>
                </div>
            </form>
        </div>
    </div>
</div>

<!-- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 -->
<{include file="footer.tpl" }>